|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.interactions.core.support.Widget
org.eclipse.vtp.framework.interactions.voice.vxml.Rule
public class Rule
A rule declaration for inline grammars.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
Rule(java.lang.String id)
Creates a new Rule. |
|
| Method Summary | |
|---|---|
void |
addItem(Iota item)
Adds an item to this rule's list. |
java.lang.String |
getId()
Returns the ID of this rule. |
Item[] |
getItems()
Returns the list of items in this rule. |
void |
removeItem(Iota item)
Removes an item from this rule's list. |
void |
setId(java.lang.String id)
Sets the ID of this rule. |
protected void |
writeAttributes(org.xml.sax.helpers.AttributesImpl attributes)
Write the attribute members of this set to the supplied set. |
protected void |
writeItems(org.xml.sax.ContentHandler outputHandler)
Write the content of this set to the specified content handler. |
void |
writeWidget(org.xml.sax.ContentHandler outputHandler)
Writes the content of this widget to an XML content handler. |
| Methods inherited from class org.eclipse.vtp.framework.interactions.core.support.Widget |
|---|
toString, writeAttribute, writeChildren, writeChildren, writeWidget, writeWidget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Rule(java.lang.String id)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
id - The ID of this rule.
java.lang.IllegalArgumentException - If the specified ID is empty.
java.lang.NullPointerException - If the specified ID is null.| Method Detail |
|---|
public java.lang.String getId()
public Item[] getItems()
public void setId(java.lang.String id)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
id - The ID of this rule.
java.lang.IllegalArgumentException - If the specified ID is empty.
java.lang.NullPointerException - If the specified ID is null.
public void addItem(Iota item)
throws java.lang.NullPointerException
item - The item to add.
java.lang.NullPointerException - If the specified item is null.
public void removeItem(Iota item)
throws java.lang.NullPointerException
item - The item to remove.
java.lang.NullPointerException - If the specified item is null.
public void writeWidget(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
Widget
writeWidget in class WidgetoutputHandler - The handler to write this widget to.
java.lang.NullPointerException - If the supplied content handler is
null.
org.xml.sax.SAXException - If the writing of this widget fails.protected void writeAttributes(org.xml.sax.helpers.AttributesImpl attributes)
attributes - The attribute set to write to.
java.lang.NullPointerException - If the supplied attribute set is
null.
protected void writeItems(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
outputHandler - The content handler to write to.
java.lang.NullPointerException - If the supplied content handler is
null.
org.xml.sax.SAXException - If the writing of any of the items fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||